package entity.lemming.animation;
import java.awt.Rectangle;

import entity.Entity;
import entity.lemming.Lemming;
import entity.terrain.Terrain;

public class Homie extends Lemming {
	
	private int cycle;

	public Homie(int x, int y){
		super("resource/graphics/lemming/homie/homie_1.gif",16, x, y);
		speed_X = 0;
		speed_Y = 0;
		energy = 100;
	}
	
	public /*@ pure @*/ boolean collision(Entity other) {
		//do nothing
		
		return false;
	}

	/** Request that this lemming perform the appropiate action/movement. */
	
	
	public void move(Terrain terrain) {
		if (cycle < 12){
			update();
		}
		else {
			saved = true;
		}
			cycle++;
	}
	
	/** Reverse a Lemmings direction */
	public void turnAround(){
	
	}
}